import { translateTitle } from '@/utils/i18n'
const ApplicationJavaInterfaceMaintenance = {
  ApplicationJavaInterfaceMaintenance: {
    search: {
      form: {
        method: 'AppInterfaceQuery',
        name: 'search',
        field: [
          {
            type: 'input',
            name: 'APP_INTERFACE_NAME',
            label: translateTitle('Dams.ApplicationInterface.JAVA接口类名'),
            labelHidden: false,
          },
          {
            type: 'input',
            name: 'INTERFACE_DESC',
            label: translateTitle('Dams.ApplicationInterface.JAVA接口类描述'),
            labelHidden: false,
          },
          {
            type: 'select',
            name: 'SUB_SYSTEM',
            label: translateTitle('Dams.ApplicationInterface.所属子系统'),
            options: [],
            filterable: true,
          },
          {
            type: 'button',
            label: translateTitle('Dams.ApplicationInterface.查询'),
            labelHidden: true,
          },
        ],
      },
    },
    dialog: {
      form: {
        method: '',
        name: 'dialog',
        field: [
          {
            type: 'input',
            name: 'APP_INTERFACE_NAME',
            label: translateTitle('Dams.ApplicationInterface.JAVA接口类名'),
            isRules: true,
          },
          {
            type: 'input',
            name: 'INTERFACE_DESC',
            label: translateTitle('Dams.ApplicationInterface.JAVA接口类描述'),
            isRules: true,
          },

          {
            type: 'select',
            name: 'LANGUGE_CODE',
            label: translateTitle('Dams.ApplicationInterface.语言'),
            options: [],
            isRules: true,
          },
          {
            type: 'input',
            name: 'EDIT_USER_NAME',
            label: translateTitle('Dams.ApplicationInterface.编辑人'),
            hidden: true,
            disabled_edit: true,
          },
          {
            type: 'input',
            name: 'EDIT_DATE_TIME',
            label: translateTitle('Dams.ApplicationInterface.编辑时间'),
            hidden: true,
            disabled_edit: true,
          },

          {
            type: 'input',
            name: 'ADD_USER_NAME',
            label: translateTitle('Dams.ApplicationInterface.新增人'),
            hidden: true,
            disabled_edit: true,
          },
          {
            type: 'input',
            name: 'ADD_DATE_TIME',
            label: translateTitle('Dams.ApplicationInterface.新增时间'),
            hidden: true,
            disabled_edit: true,
          },
          {
            type: 'select',
            name: 'SUB_SYSTEM',
            label: translateTitle('Dams.ApplicationInterface.所属子系统'),
            options: [],
            filterable: true,
            isRules: true,
          },
          {
            type: 'button',
            label: translateTitle('Dams.ApplicationInterface.提交'),
            labelHidden: true,
          },
        ],
      },
    },
    addMethod: 'AppInterfaceInsert',
    updateMethod: 'AppIntefaceUpdate',
    deleteMethod: 'AppInterfaceDelete',
  },
}
export default ApplicationJavaInterfaceMaintenance
